{% extends '@WebsiteBundle/layout/baselayout.html.twig' %}
{% block seo_title %}{{ seoTitle }}{% endblock %}
{% block seo_descr %}{{ seoDescr }}{% endblock %}
{% block seo_kw %}{{ seoKw }}{% endblock %}


{% block head_stylesheets %}
	{{ parent() }}
	{{ encore_entry_link_tags('website_course_detail') }}
{% endblock %}

{% block body_javascript %}
	{{ parent() }}
	{{ encore_entry_script_tags('website_course_detail') }}
{% endblock %}

{% block head_javascript %}
	{{ parent() }}
{% endblock %}



{% block body_main %}
	{{ parent() }}
<div class="page">
    {{ render(path('app_header', {"route":route})) }}
    <div class="page-wrapper">
        <div class="page-body">
            <div class="container-xl">
                {% if info["isGroup"] == 0 %}
        {{ include("@WebsiteBundle/course/normalGoods.html.twig") }}
                {% else %}
                    {#组合商品可选#}
                    {% if info["groupType"] == 1 %}
        {{ include("@WebsiteBundle/course/groupGoods.html.twig") }}
                    {% else %}
                        {# 组合商品全选#}
        {{ include("@WebsiteBundle/course/normalGoods.html.twig") }}
                    {% endif %}
                {% endif %}
                {# 信息展示 #}
        {{ include("@WebsiteBundle/course/introduce.html.twig") }}
            </div>
        </div>
    </div>
{{ render(path('app_footer')) }}
</div>
{% endblock %}
